const styles = {
    //多边形
    polygonP: {
        labelList: {
            text: {
                label: "内容",
                type: "NInput",
                props: {
                    maxlength: 8,
                    "show-count": true,
                    clearable: true,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "default-value": "#ffffff",
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            font_size: {
                label: "字体大小",
                type: "NInputNumber",
                props: {
                    "default-value": 16,
                    min: 12,
                    max: 32,
                    "show-button": false,
                },
            },
        },
        styleList: {
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            outlineColor: {
                label: "边框颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            clampToGround: true,
            color: "#55ff33",
            opacity: 0.2,
            outline: true,
            outlineWidth: 2,
            outlineColor: "#3269FF",
        },
    },
    //图标点
    billboard: {
        labelList: {
            text: {
                label: "内容",
                type: "NInput",
                props: {
                    maxlength: 8,
                    "show-count": true,
                    clearable: true,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "default-value": "#ffffff",
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            font_size: {
                label: "字体大小",
                type: "NInputNumber",
                props: {
                    "default-value": 16,
                    min: 12,
                    max: 32,
                    "show-button": false,
                },
            },
            pixelOffsetX: {
                label: "横向偏移",
                type: "NInputNumber",
                props: {
                    "default-value": 0,
                    min: -200,
                    max: 400,
                    "show-button": false,
                },
            },
            pixelOffsetY: {
                label: "纵向偏移",
                type: "NInputNumber",
                props: {
                    "default-value": 0,
                    min: -200,
                    max: 400,
                    "show-button": false,
                },
            },
        },
        styleList: {
            image: {
                label: "图标",
                type: "SelectLabel",
                props: {
                    options: [
                        { value: "/static/icon/物流业.png", label: "物流业" },
                        {
                            value: "/static/icon/移动基站.png",
                            label: "移动基站",
                        },
                        { value: "/static/icon/银行.png", label: "银行" },
                        { value: "/static/icon/应急.png", label: "应急" },
                    ],
                },
            },
            scale: {
                label: "缩放",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 10,
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            image: "/static/icon/物流业.png",
            opacity: 1,
            scale: 1,
            width: 46,
            height: 56,
        },
    },
    //线
    polyline: {
        styleList: {
            width: {
                label: "线宽",
                type: "NInputNumber",
                props: {
                    min: 1,
                    max: 20,
                    "show-button": false,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            width: 2,
            color: "#3269FF",
        },
    },
    //圆
    circle: {
        labelList: {
            text: {
                label: "内容",
                type: "NInput",
                props: {
                    maxlength: 8,
                    "show-count": true,
                    clearable: true,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "default-value": "#ffffff",
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            font_size: {
                label: "字体大小",
                type: "NInputNumber",
                props: {
                    "default-value": 16,
                    min: 12,
                    max: 32,
                    "show-button": false,
                },
            },
        },
        styleList: {
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            outlineColor: {
                label: "边框颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            outlineWidth: {
                label: "边框线宽",
                type: "NInputNumber",
                props: {
                    min: 1,
                    max: 20,
                    "show-button": false,
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            clampToGround: true,
            color: "#55ff33",
            opacity: 0.2,
            outline: true,
            outlineWidth: 2,
            outlineColor: "#3269FF",
        },
    },
    //攻击箭头
    attackArrow: {
        labelList: {
            text: {
                label: "内容",
                type: "NInput",
                props: {
                    maxlength: 8,
                    "show-count": true,
                    clearable: true,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "default-value": "#ffffff",
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            font_size: {
                label: "字体大小",
                type: "NInputNumber",
                props: {
                    "default-value": 16,
                    min: 12,
                    max: 32,
                    "show-button": false,
                },
            },
        },
        styleList: {
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            outlineColor: {
                label: "边框颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            outlineWidth: {
                label: "边框线宽",
                type: "NInputNumber",
                props: {
                    min: 1,
                    max: 20,
                    "show-button": false,
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            clampToGround: true,
            color: "#55ff33",
            opacity: 0.2,
            outline: true,
            outlineWidth: 2,
            outlineColor: "#3269FF",
        },
    },
    //扇形
    sector: {
        labelList: {
            text: {
                label: "内容",
                type: "NInput",
                props: {
                    maxlength: 8,
                    "show-count": true,
                    clearable: true,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "default-value": "#ffffff",
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            font_size: {
                label: "字体大小",
                type: "NInputNumber",
                props: {
                    "default-value": 16,
                    min: 12,
                    max: 32,
                    "show-button": false,
                },
            },
        },
        styleList: {
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            outlineColor: {
                label: "边框颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            clampToGround: true,
            color: "#55ff33",
            opacity: 0.2,
            outline: true,
            outlineWidth: 2,
            outlineColor: "#3269FF",
        },
    },
    //直线箭头-两个点
    fineArrow: {
        labelList: {
            text: {
                label: "内容",
                type: "NInput",
                props: {
                    maxlength: 8,
                    "show-count": true,
                    clearable: true,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "default-value": "#ffffff",
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            font_size: {
                label: "字体大小",
                type: "NInputNumber",
                props: {
                    "default-value": 16,
                    min: 12,
                    max: 32,
                    "show-button": false,
                },
            },
        },
        styleList: {
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            outlineColor: {
                label: "边框颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            desc: {
                label: "备注",
                type: "NInput",
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            clampToGround: true,
            color: "#55ff33",
            opacity: 0.2,
            outline: true,
            outlineWidth: 2,
            outlineColor: "#3269FF",
        },
    },
    //燕尾箭头
    fineArrowYW: {
        labelList: {
            text: {
                label: "内容",
                type: "NInput",
                props: {
                    maxlength: 8,
                    "show-count": true,
                    clearable: true,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "default-value": "#ffffff",
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            font_size: {
                label: "字体大小",
                type: "NInputNumber",
                props: {
                    "default-value": 16,
                    min: 12,
                    max: 32,
                    "show-button": false,
                },
            },
        },
        styleList: {
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            outlineColor: {
                label: "边框颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            clampToGround: true,
            color: "#55ff33",
            opacity: 0.2,
            outline: true,
            outlineWidth: 2,
            outlineColor: "#3269FF",
        },
    },
    //直箭头-三个点
    straightArrow: {
        labelList: {
            text: {
                label: "内容",
                type: "NInput",
                props: {
                    maxlength: 8,
                    "show-count": true,
                    clearable: true,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "default-value": "#ffffff",
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            font_size: {
                label: "字体大小",
                type: "NInputNumber",
                props: {
                    "default-value": 16,
                    min: 12,
                    max: 32,
                    "show-button": false,
                },
            },
        },
        styleList: {
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            outlineColor: {
                label: "边框颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            clampToGround: true,
            color: "#55ff33",
            opacity: 0.2,
            outline: true,
            outlineWidth: 2,
            outlineColor: "#3269FF",
        },
    },
    //矩形
    rectangle: {
        labelList: {
            text: {
                label: "内容",
                type: "NInput",
                props: {
                    maxlength: 8,
                    "show-count": true,
                    clearable: true,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "default-value": "#ffffff",
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            font_size: {
                label: "字体大小",
                type: "NInputNumber",
                props: {
                    "default-value": 16,
                    min: 12,
                    max: 32,
                    "show-button": false,
                },
            },
        },
        styleList: {
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            outlineColor: {
                label: "边框颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            clampToGround: true,
            color: "#55ff33",
            opacity: 0.2,
            outline: true,
            outlineWidth: 2,
            outlineColor: "#3269FF",
        },
    },
    //曲线
    curve: {
        styleList: {
            width: {
                label: "线宽",
                type: "NInputNumber",
                props: {
                    min: 1,
                    max: 20,
                    "show-button": false,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            width: 2,
            color: "#3269FF",
        },
    },
    //模型
    model: {
        labelList: {
            text: {
                label: "内容",
                type: "NInput",
                props: {
                    maxlength: 8,
                    "show-count": true,
                    clearable: true,
                },
            },
            color: {
                label: "颜色",
                type: "NColorPicker",
                props: {
                    "default-value": "#ffffff",
                    "show-alpha": false,
                    modes: ["hex"],
                },
            },
            font_size: {
                label: "字体大小",
                type: "NInputNumber",
                props: {
                    "default-value": 16,
                    min: 12,
                    max: 32,
                    "show-button": false,
                },
            },
        },
        styleList: {
            url: {
                label: "选择模型",
                type: "NSelect",
                props: {
                    options: [
                        { value: "/static/model/SHC.gltf", label: "黑色轿车" },
                        {
                            value: "/static/model/MTC.gltf",
                            label: "警用摩托车",
                        },
                        { value: "/static/model/JC.gltf", label: "警车" },
                    ],
                },
            },
            scale: {
                label: "缩放",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 10,
                },
            },
            opacity: {
                label: "透明度",
                type: "NSlider",
                props: {
                    step: 0.1,
                    min: 0.1,
                    max: 1,
                },
            },
            heading: {
                label: "方向角",
                type: "NSlider",
                props: {
                    step: 1,
                    min: 0,
                    max: 360,
                },
            },
            pitch: {
                label: "俯仰角",
                type: "NSlider",
                props: {
                    step: 1,
                    min: 0,
                    max: 360,
                },
            },
            roll: {
                label: "翻滚角",
                type: "NSlider",
                props: {
                    step: 1,
                    min: 0,
                    max: 360,
                },
            },
            clampToGround: {
                label: "是否贴地",
                type: "NSwitch",
                props: {
                    size: "small",
                },
            },
        },
        defaultStyle: {
            url: "/static/model/SHC.gltf",
            opacity: 1,
            scale: 1,
            heading: 0,
            pitch: 0,
            roll: 0,
            clampToGround: true,
        },
    },
};

export default styles;
